import axios from 'axios'
import { Notification, Message, Loading } from 'element-ui'
import { HTTP_URI } from '../api/api'


axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
// 创建axios实例
const service = axios.create({
    // axios中请求配置有baseURL选项，表示请求URL公共部分
    baseURL: HTTP_URI.BASEURL,
    // 超时
    timeout: 300000
})





export default service


